<div class="hdxuats view">
<h2><?php  __('Hdxuat');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $hdxuat['Hdxuat']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Nhanvien'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($hdxuat['Nhanvien']['id'], array('controller' => 'nhanviens', 'action' => 'view', $hdxuat['Nhanvien']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Sohdxuat'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $hdxuat['Hdxuat']['sohdxuat']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngay'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $hdxuat['Hdxuat']['ngay']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Noi'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $hdxuat['Hdxuat']['noi']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Thực hiện'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Sửa Hóa đơn xuất', true), array('action' => 'edit', $hdxuat['Hdxuat']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Xóa Hóa đơn xuất', true), array('action' => 'delete', $hdxuat['Hdxuat']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $hdxuat['Hdxuat']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('DS Hóa đơn xuất', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Hóa đơn xuất mới', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('DS Nhân viên', true), array('controller' => 'nhanviens', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Nhân viên mới', true), array('controller' => 'nhanviens', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('DS Chi tiết thanh toán', true), array('controller' => 'chitietthanhtoans', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Chi tiết thanh toán mới', true), array('controller' => 'chitietthanhtoans', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Liên kết Chi tiết thanh toán');?></h3>
	<?php if (!empty($hdxuat['Chitietthanhtoan'])):?>
	<table id='tables' cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Dangkydv Id'); ?></th>
		<th><?php __('Hdxuat Id'); ?></th>
		<th><?php __('Sotien'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($hdxuat['Chitietthanhtoan'] as $chitietthanhtoan):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $chitietthanhtoan['STT'];?></td>
			<td><?php echo $chitietthanhtoan['Mã Đăng ký dịch vụ'];?></td>
			<td><?php echo $chitietthanhtoan['Mã Hóa đơn xuất'];?></td>
			<td><?php echo $chitietthanhtoan['Số tiền'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('Xem', true), array('controller' => 'chitietthanhtoans', 'action' => 'view', $chitietthanhtoan['id'])); ?>
				<?php echo $this->Html->link(__('Sửa', true), array('controller' => 'chitietthanhtoans', 'action' => 'edit', $chitietthanhtoan['id'])); ?>
				<?php echo $this->Html->link(__('Xóa', true), array('controller' => 'chitietthanhtoans', 'action' => 'delete', $chitietthanhtoan['id']), null, sprintf(__('Bạn có muốn xóa # %s?', true), $chitietthanhtoan['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('Chi tiết thanh toán mới', true), array('controller' => 'chitietthanhtoans', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
